#pragma once
#include "BibliothequeBRepP.h"
#include "BibliothequeLGB.h"

class CourbeBezier
{
private:
	Tableaux<Points3D> _pointsDeControle;
	int  _degre;
public:
	CourbeBezier(int taille = 0);
	CourbeBezier(CourbeBezier &courbe);
	CourbeBezier(Tableaux<Points3D> tab);
	virtual ~CourbeBezier();
	Points3D evaluer(double t);
	CourbeBezier derive();
	void ajouterPoint(Points3D,int pos = -1);
	void setPointControle(Tableaux<Points3D> &);
	const bool operator ==(const CourbeBezier &c);
	Points3D & operator[](int i);
	int getDegre(){return _degre;}

};
